package com.mvc.framework.dao;

import java.sql.SQLFeatureNotSupportedException;
import java.util.logging.Logger;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

public class RoutingDataSource extends AbstractRoutingDataSource {

	protected Object determineCurrentLookupKey() {
		return DynamicDataSourceHolder.getDataSource();
	}

    public Logger getParentLogger() throws SQLFeatureNotSupportedException {
	    return null;
    }

}
